package componentes;

import java.util.List;

import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
import javax.faces.webapp.UIComponentELTag;

import org.jboss.xb.binding.introspection.FieldInfo.GetValueAccessFactory;

public class StrategyMapTag extends UIComponentELTag {
	
	private String perspectives;

	@Override
	public String getComponentType() {
		return "componentes.StrategyMapTagHtml";
	}

	@Override
	public String getRendererType() {
		return "componentes.StrategyMapTag";
	}

	protected void setProperties(UIComponent component){
		super.setProperties(component);
		
		UIStrategyMap strategyMap = (UIStrategyMap) component;
		strategyMap.setPerspectives(getPerspectives());
	}
	
	public void setPerspectives(String perspectives) {
		this.perspectives = perspectives;
	}

	public String getPerspectives() {
		return perspectives;
	}
}
